import java.util.Scanner;

public class chang {
    public static void main(String[] args) {
        Scanner nb=new Scanner(System.in);
        double a= nb.nextDouble();
        double b= nb.nextDouble();
        double r= nb.nextDouble();
        System.out.println("长方形的面积="+(a*b));
        System.out.println("圆的面积="+(3.14*r*r));
    }
}